package com.hospital.acctmanage.module.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author louis
 * @since 2020-07-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("PAT_MASTER_INDEX")
public class PatMasterIndex implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId("PATIENT_ID")
    private String patientId;

    @TableField("INP_NO")
    private String inpNo;

    @TableField("NAME")
    private String name;

    @TableField("NAME_PHONETIC")
    private String namePhonetic;

    @TableField("SEX")
    private String sex;

    @TableField("DATE_OF_BIRTH")
    private Date dateOfBirth;

    @TableField("BIRTH_PLACE")
    private String birthPlace;

    @TableField("CITIZENSHIP")
    private String citizenship;

    @TableField("NATION")
    private String nation;

    @TableField("ID_NO")
    private String idNo;

    @TableField("IDENTITY")
    private String identity;

    @TableField("CHARGE_TYPE")
    private String chargeType;

    @TableField("UNIT_IN_CONTRACT")
    private String unitInContract;

    @TableField("MAILING_ADDRESS")
    private String mailingAddress;

    @TableField("ZIP_CODE")
    private String zipCode;

    @TableField("PHONE_NUMBER_BUSINESS")
    private String phoneNumberBusiness;

    @TableField("NEXT_OF_KIN")
    private String nextOfKin;

    @TableField("RELATIONSHIP")
    private String relationship;

    @TableField("NEXT_OF_KIN_ADDR")
    private String nextOfKinAddr;

    @TableField("NEXT_OF_KIN_ZIP_CODE")
    private String nextOfKinZipCode;

    @TableField("NEXT_OF_KIN_PHONE")
    private String nextOfKinPhone;

    @TableField("LAST_VISIT_DATE")
    private Date lastVisitDate;

    @TableField("VIP_INDICATOR")
    private Integer vipIndicator;

    @TableField("CREATE_DATE")
    private Date createDate;

    @TableField("OPERATOR")
    private String operator;

    @TableField("CARDNO")
    private String cardno;

    @TableField("ZYLSH")
    private String zylsh;

    @TableField("CARD_STATUS")
    private String cardStatus;

    @TableField("RUNDCODE")
    private String rundcode;

    @TableField("INSUR_NO")
    private String insurNo;

    @TableField("IC_CARD_NO")
    private String icCardNo;

    @TableField("INSUR_CODE")
    private String insurCode;

    @TableField("OCCUPATION")
    private String occupation;

    @TableField("PHONE_NUMBER_HOME")
    private String phoneNumberHome;

    @TableField("STATE")
    private String state;

    @TableField("CITY")
    private String city;

    @TableField("DISTRICT")
    private String district;

    @TableField("MIRTH_FLAG")
    private String mirthFlag;

    @TableField("POOR_FLAG")
    private String poorFlag;

    @TableField("POSITION_FLAG")
    private String positionFlag;

    @TableField("CARD_ID")
    private String cardId;

    @TableField("ADDRESS")
    private String address;

    @TableField("UNIT_TYPE")
    private String unitType;

    @TableField("HEALTH_CARD_ID")
    private String healthCardId;

    @TableField("QR_CODE_TEXT")
    private String qrCodeText;

    @TableField("P_HID")
    private String pHid;

    @TableField("ADMIN_EXT")
    private String adminExt;

    @TableField("VIRTUAL_CARD_NUM")
    private String virtualCardNum;


}
